package com.maven;

import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * AOP实现的第一种方法proxy,invocationHader
 */

@Service
public class DemoServiceImpl implements DemoService{


    public void test(String name){
        System.out.println(name);
    }


}
